SnowflakeIO: filter on db and schema when searching for existing table#34486
SnowflakeIO: filter on db and schema when searching for existing table#34486Abacn merged 1 commit intoapache:masterfrom
Conversation
|
Assigning reviewers. If you would like to opt out of this review, comment R: @damondouglas for label java. Available commands:
The PR bot will only process comments in the main thread (not review comments). |
|
Reminder, please take a look at this pr: @damondouglas @damondouglas |
|
Assigning new set of reviewers because Pr has gone too long without review. If you would like to opt out of this review, comment R: @chamikaramj for label java. Available commands:
|
|
Hello @robertwb would it be possible to merge this one? |
|
Reminder, please take a look at this pr: @chamikaramj @damondouglas |
|
Assigning new set of reviewers because Pr has gone too long without review. If you would like to opt out of this review, comment R: @robertwb for label java. Available commands:
|
|
Reminder, please take a look at this pr: @robertwb @damondouglas |
fa86ae5 to
2e08c9e
Compare
|
Rebased on |
|
Assigning new set of reviewers because Pr has gone too long without review. If you would like to opt out of this review, comment R: @chamikaramj for label java. Available commands:
|
2e08c9e to
83f424d
Compare
|
Thanks for the fix. Would it be possible to add a test case? |
Thanks! That's not easy at all: this is linked to system table schema in Snowflake, so requires an integration test. Thing is, IT require a working GCP-run Snowflake, which I don't have access to. Unfortunately, there is no real way to have tests running against, say, a docker-embedded Snowflake db. |
|
@Abacn is it a blocker? I don't believe I can execute the IT. I may write a UT to check the query is the one expected, but it's not of great value I think. |
When searching if a table already exists,
SnowflakeIOmay wrongly find a table with the same name in another db/schema. So filter the search on it.GitHub Actions Tests Status (on master branch)
See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.